import request from '@/untils/request.js'

//查询所有人员出入记录
export const queryAllPersonAccessRecordsService = (currentPage, pageSize) => {
    return request.get('/queryPersonRecords', { params: { currentPage, pageSize } })
}

//查询所有车辆出入记录
export const queryAllCarAccessRecordsService = (currentPage, pageSize) => {
    return request.get('/queryCarRecords', { params: { currentPage, pageSize } })
}